home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Author: Markus van Kempen
- **
- ** Global Variablen & Structure
- **
- **
- ** (c) by VIONA-Development 1992/93
- */
-
- /* SEE Window-Structure below */
-
- #define WIN_LEFT 100 /* left border of window*/
- #define WIN_TOP 100 /* top edge of window */
-
- #define WIN_HEIGHT 120 /* ... */
- #define WIN_WIDTH 220 /* ... */
-
- #define WIN_MINHEIGHT 120 /* MinHeight */
- #define WIN_MINWIDTH 220 /* MinWidth */
-
-
-
- /*
- ** Variabelen
- */
-
- int dummy;
- EI_MenuPtr Menu; /* used in main.c InitMenu.c */
- EG_EFontPtr FontforMenu;
- struct EI_Window *Window;
- ER_SimpleReqPtr ErrorReq;
-
- struct OpenStructTyp
- {
- ULONG* Ort;
- char * Name;
- ULONG Version;
- };
-
-
- /*
- * The EGS Lib-Bases
- *
- */
-
- struct Library *EGSBase;
- struct Library *EGSBlitBase;
- struct Library *EGSLayersBase;
- struct Library *EGSGfxBase;
- struct Library *EGSIntuiBase;
- struct Library *EGSRequestBase;
- struct Library *EGBBase;
- struct Library *EGBMenuSelectBase;
- struct Library *EGBRadioBase;
- struct Library *EGBScrollBase;
- struct Library *EGBSelectBase;
- struct Library *EGBSetBase;
- struct Library *EGBTextInfoBase;
-
- /********************************************/
-
- struct OpenStructTyp OpenStruct[] =
- {
- { (ULONG*) &EGSBase , "egs.library",0 },
- { (ULONG*) &EGSBlitBase , "egsblit.library",0 },
- { (ULONG*) &EGSLayersBase , "egslayers.library",0 },
- { (ULONG*) &EGSGfxBase , "egsgfx.library",0 },
- { (ULONG*) &EGSIntuiBase , "egsintui.library",0 },
- { (ULONG*) &EGBBase , "egsgadbox.library",0 },
- { (ULONG*) &EGSRequestBase , "egsrequest.library",0 },
- { (ULONG*) &EGBMenuSelectBase, "egb/gbmenuselect.library",0 },
- { (ULONG*) &EGBRadioBase , "egb/gbradio.library",0 },
- { (ULONG*) &EGBScrollBase , "egb/gbscrollbox.library",0 },
- { (ULONG*) &EGBSelectBase , "egb/gbselect.library",0 },
- { (ULONG*) &EGBSetBase , "egb/gbsets.library",0 },
- { (ULONG*) &EGBTextInfoBase , "egb/gbtextinfo.library",0 },
- { 0L,0L,0L }
- };
-
- struct EI_NewWindow newwin =
- {
- WIN_LEFT, /* left border of window*/
- WIN_TOP, /* top edge of window */
-
- WIN_WIDTH, /* ... */
- WIN_HEIGHT, /* ... */
-
- WIN_MINWIDTH, /* MinWidth */
- WIN_MINHEIGHT, /* MinHeight */
- 800, /* MaxWidth */
- 600, /* MaxHeight */
- NULL, /* Screen */
- /* sysGadget */
-
- EI_WINDOWDRAG |
- EI_WINDOWCLOSE | EI_WINDOWSIZE |
- EI_WINDOWFRONT | EI_WINDOWBACK,
-
- NULL, /* EI_GadgetPtr -> gadgets */
- /* FirstGadget */
- "Titel", /* Titel */
-
- /* Flags */
-
- EI_WINDOWACTIVE |
- EI_WINDOW_MENULOCAL |
- EI_FRONTBACKGADGET |
- EI_WINDOWCENTER |
- EI_SIMPLE_REFRESH |
- EI_GIMMEZEROZERO |
- EI_SIZEBRIGHT ,
-
- /* IDCMP -Flags */
- EI_iCLOSEWINDOW |
- EI_iMOVEWINDOW |
- EI_iSIZEVERIFY |
- EI_iNEWSIZE |
- EI_iMENUPICK,
-
- NULL, /* MsgPort *p */
- /* Windowcolors */
- { 3 ,1 ,0 ,2 ,1 ,3 ,1 }, /* WinColors */
- NULL, /* MenuPtr */
- NULL /* IntuiGfxPtr */
- };
-
- struct TextAttr FontStr = {
- "times.font", /* Name */
- 24, /* Y-Size */
- 0,
- 0
- };
-
-
-
-